package com.token.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.token.model.po.TestSqlInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @auther: henriy
 * @Date: 2023/10/30
 */
@Mapper
public interface TestSqlInfoMapper extends BaseMapper<TestSqlInfo> {

    /**
     *
     * @param module
     * @return
     */
    TestSqlInfo selectSqlColumnByModule(@Param("module") String module);

    List<Map<String, Object>> executeSql(@Param("sqlResult") String sqlResult);

}
